package com.cos.entity;

import java.io.Serializable;
import java.util.Date;

/**
  * @author: zxc
  * @return:
  * @time:  2021/5/13 20:13
  * @description:
  */
public class Passengers implements Serializable {
    private Integer id;
    private String name;
    private String sex;
    private Date birthday;

    private Passports passports;

    public Passports getPassports() {
        return passports;
    }

    public void setPassports(Passports passports) {
        this.passports = passports;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "Passengers{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday=" + birthday +
                ", passports=" + passports +
                '}';
    }

    public Passengers(Integer id, String name, String sex, Date birthday) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
    }

    public Passengers() {
    }
}
